package top.jolyoulu.codegenweb.enums;

/**
 * @Author: JolyouLu
 * @Date: 2023/4/15 13:42
 * @Description
 */
public enum MysqlModel {
    //表
    TABLE_NAME("tableName", "表名"),
    TABLE_COLUMNS("tableColumns", "表属性列表"),
    TABLE_TO_JAVA_BEAN("tableToJavaBean", "表面转JavaBean名称"),
    TABLE_TO_JAVA_BEAN_LF("tableToJavaBeanLF", "表面转JavaBean名称,首字母小写"),
    //表字段
    COLUMN_TO_JAVA_TYPE("columnToJavaType", "字段类型对应的javaType"),
    COLUMN_TO_JAVA_FILED("columnToJavaFiled", "字段名称转属性名"),
    COLUMN_TO_JAVA_FILED_LF("columnToJavaFiledLF", "字段名称转属性名,首字母小写"),
    COLUMN_IS_PK("columnIsPK", "是否是主键"),
    COLUMN_COMMENT("columnComment", "字段说明")
    ;

    MysqlModel(String property, String remarks) {
        this.property = property;
        this.remarks = remarks;
    }

    private String property;

    private String remarks;

    public String getProperty() {
        return property;
    }

    public String getRemarks() {
        return remarks;
    }
}
